﻿namespace Stickam_Client
{
    [DesignerGenerated]
    public __gc class Form_ChatOptions : public Form
    {
        // Methods
        public: Form_ChatOptions()
        {
            base->Load += new EventHandler __gc*(this.Form4_Load);
            this->PresetColors = __gc new Color __gc*[0x16] {
                Color::Black, Color::White, Color::Gray, Color::FromArgb(0xc0, 0xc0, 0xc0), Color::FromArgb(0x80, 0, 0), Color::Red, Color::FromArgb(0x80, 0x80, 0), Color::Yellow, Color::Green, Color::Lime, Color::FromArgb(0, 0x80, 0x80), Color::Cyan, Color::DarkBlue, Color::Blue, Color::Purple, Color::Fuchsia, Color::SlateBlue, Color::FromArgb(0, 0x80, 0xff), Color::YellowGreen, Color::MediumSpringGreen, Color::DeepPink, Color::FromArgb(0xff, 0x80, 0)};
            this->InitializeComponent();
        }

        private: void __gc* BarBlue_Scroll(Object __gc* sender, EventArgs __gc* e)
        {
            this->ValueBlue->Text = Conversions::ToString(this->BarBlue->Value);
            this->UpdateColor();
        }

        private: void __gc* BarGreen_Scroll(Object __gc* sender, EventArgs __gc* e)
        {
            this->ValueGreen->Text = Conversions::ToString(this->BarGreen->Value);
            this->UpdateColor();
        }

        private: void __gc* BarRed_Scroll(Object __gc* sender, EventArgs __gc* e)
        {
            this->ValueRed->Text = Conversions::ToString(this->BarRed->Value);
            this->UpdateColor();
        }

        [DebuggerNonUserCode]
        protected: override void __gc* Dispose(Boolean __gc* disposing)
        {
            try
            {
                if (disposing && (this->components != 0))
                {
                    this->components->Dispose();
                }
            }
            finally
            {
                base->Dispose(disposing);
            }
        }

        private: void __gc* DoApply_Click(Object __gc* sender, EventArgs __gc* e)
        {
            this->SaveAndClose(true, false);
        }

        private: void __gc* DoDone_Click(Object __gc* sender, EventArgs __gc* e)
        {
            this->SaveAndClose(true, true);
        }

        private: void __gc* DoRandomize_Click(Object __gc* sender, EventArgs __gc* e)
        {
            this->FontFamily->SelectedIndex = Conversions::ToInteger(Globals::RandomNumber(0, (this->FontFamily->Items->Count - 1)));
            this->FontSize->SelectedIndex = Conversions::ToInteger(Globals::RandomNumber(0, (this->FontSize->Items->Count - 1)));
            this->FontBold->Checked = Conversions::ToBoolean(Globals::RandomNumber(0, 1));
            this->FontItalics->Checked = Conversions::ToBoolean(Globals::RandomNumber(0, 1));
            if (Conversions::ToBoolean(Globals::RandomNumber(0, 1)))
            {
                this->FontUnderline->Checked = Conversions::ToBoolean(Globals::RandomNumber(0, 1));
            }
            else
            {
                this->FontUnderline->Checked = false;
            }
            this->SetColorValues(Color::FromArgb(Conversions::ToInteger(Globals::RandomNumber(0, 0xff)), Conversions::ToInteger(Globals::RandomNumber(0, 0xff)), Conversions::ToInteger(Globals::RandomNumber(0, 0xff))));
            this->UpdateColor();
        }

        private: void __gc* DoReset_Click(Object __gc* sender, EventArgs __gc* e)
        {
            this->FontFamily->SelectedIndex = 0;
            this->FontSize->SelectedIndex = 3;
            this->FontBold->Checked = false;
            this->FontItalics->Checked = false;
            this->FontUnderline->Checked = false;
            this->SetColorValues(Color::Black);
            this->UpdateColor();
        }

        private: void __gc* DrawPresetColors()
        {
            Int32 __gc* numArray __gc [] = __gc new Int32 __gc*[2] {
                0x9e, 80};
            Int32 __gc* numArray2 __gc [] = __gc new Int32 __gc*[2] {
                11, 12};
            Int32 __gc* num2 = (this->PresetColors->Length - 1);
            for (Int32 __gc* i = 0; (i <= num2); i++)
            {
                Panel __gc* panel = __gc new Panel();
                panel->BackColor = this->PresetColors[i];
                panel->BorderStyle = BorderStyle::FixedSingle;
                Point __gc* point = (numArray[0], numArray[1]);
                panel->Location = point;
                panel->Name = String::Concat(S"PresetColor", Conversions::ToString(i));
                Size __gc* size = (numArray2[0], numArray2[1]);
                panel->Size = size;
                this->Controls->Add(panel);
                panel->Click += new EventHandler __gc*(this.PresetColor_Click);
                Int32 __gc* index = 1;
                numArray[index] += (numArray2[1] + 1);
                if (numArray[1] > 0x5d)
                {
                    numArray[1] = 80;
                    index = 0;
                    numArray[index] += (numArray2[0] + 1);
                }
            }
        }

        private: void __gc* FontUpdate(Object __gc* sender, EventArgs __gc* e)
        {
            if ((this->FontFamily->SelectedIndex != -1) & (this->FontSize->SelectedIndex != -1))
            {
                Int32 __gc* num = 0;
                if (this->FontBold->Checked)
                {
                    num++;
                }
                if (this->FontItalics->Checked)
                {
                    num += 2;
                }
                if (this->FontUnderline->Checked)
                {
                    num += 4;
                }
                this->PreviewFont->Font = __gc new Font(this->FontFamily->SelectedItem->ToString(), *static_cast<__box Single*>((Conversions::ToInteger(this->FontSize->SelectedItem) - 3)), *static_cast<__box FontStyle*>(num));
            }
        }

        private: void __gc* Form4_Load(Object __gc* sender, EventArgs __gc* e)
        {
            this->DrawPresetColors();
            this->FontBold->Checked = MySettingsProperty::Settings->FontBold;
            this->FontItalics->Checked = MySettingsProperty::Settings->FontItalics;
            this->FontUnderline->Checked = MySettingsProperty::Settings->FontUnderline;
            this->FontFamily->SelectedItem = MySettingsProperty::Settings->FontFamily;
            this->FontSize->SelectedItem = Conversions::ToString(MySettingsProperty::Settings->FontSize);
            this->Keywords->Text = MySettingsProperty::Settings->Keywords;
            this->PlayKeywordSound->Checked = MySettingsProperty::Settings->PlayKeywordSound;
            this->SetColorValues(Globals::ColorFromString(MySettingsProperty::Settings->FontColor));
            this->UpdateColor();
        }

        [DebuggerStepThrough]
        private: void __gc* InitializeComponent()
        {
            ComponentResourceManager __gc* manager = __gc new ComponentResourceManager(__typeof(Form_ChatOptions));
            this->FontFamily = __gc new ComboBox();
            this->FontSize = __gc new ComboBox();
            this->FontBold = __gc new CheckBox();
            this->FontItalics = __gc new CheckBox();
            this->FontUnderline = __gc new CheckBox();
            this->Label1 = __gc new Label();
            this->Label2 = __gc new Label();
            this->Label3 = __gc new Label();
            this->BarRed = __gc new TrackBar();
            this->BarGreen = __gc new TrackBar();
            this->BarBlue = __gc new TrackBar();
            this->ValueRed = __gc new Label();
            this->ValueGreen = __gc new Label();
            this->ValueBlue = __gc new Label();
            this->Panel1 = __gc new Panel();
            this->PreviewFont = __gc new Label();
            this->Panel2 = __gc new Panel();
            this->PreviewColor = __gc new Label();
            this->DoApply = __gc new Button();
            this->DoDone = __gc new Button();
            this->DoReset = __gc new Button();
            this->DoRandomize = __gc new Button();
            this->Label4 = __gc new Label();
            this->Keywords = __gc new TextBox();
            this->PlayKeywordSound = __gc new CheckBox();
            this->InvertColors = __gc new Button();
            this->BarRed->BeginInit();
            this->BarGreen->BeginInit();
            this->BarBlue->BeginInit();
            this->Panel1->SuspendLayout();
            this->Panel2->SuspendLayout();
            this->SuspendLayout();
            this->FontFamily->DropDownStyle = ComboBoxStyle::DropDownList;
            this->FontFamily->FormattingEnabled = true;
            this->FontFamily->Items->AddRange(__gc new Object __gc*[7] {
                S"Arial", S"Comic Sans MS", S"Courier New", S"MS Sans Serif", S"Tahoma", S"Times New Roman", S"Verdana"});
            Point __gc* point = (1, 1);
            this->FontFamily->Location = point;
            this->FontFamily->Name = S"FontFamily";
            Size __gc* size = (120, 0x15);
            this->FontFamily->Size = size;
            this->FontFamily->TabIndex = 0;
            this->FontSize->DropDownStyle = ComboBoxStyle::DropDownList;
            this->FontSize->FormattingEnabled = true;
            this->FontSize->Items->AddRange(__gc new Object __gc*[10] {
                S"9", S"10", S"11", S"12", S"13", S"14", S"15", S"16", S"17", S"18"});
            point = (0x7a, 1);
            this->FontSize->Location = point;
            this->FontSize->Name = S"FontSize";
            size = (40, 0x15);
            this->FontSize->Size = size;
            this->FontSize->TabIndex = 1;
            this->FontBold->AutoSize = true;
            this->FontBold->Font = __gc new Font(S"Microsoft Sans Serif", 8.25, FontStyle::Bold, GraphicsUnit::Point, 0);
            point = (0xa5, 3);
            this->FontBold->Location = point;
            this->FontBold->Name = S"FontBold";
            size = (0x22, 0x11);
            this->FontBold->Size = size;
            this->FontBold->TabIndex = 2;
            this->FontBold->Text = S"B";
            this->FontBold->UseVisualStyleBackColor = true;
            this->FontItalics->AutoSize = true;
            this->FontItalics->Font = __gc new Font(S"Microsoft Sans Serif", 8.25, FontStyle::Italic, GraphicsUnit::Point, 0);
            point = (0xcc, 3);
            this->FontItalics->Location = point;
            this->FontItalics->Name = S"FontItalics";
            size = (0x1d, 0x11);
            this->FontItalics->Size = size;
            this->FontItalics->TabIndex = 3;
            this->FontItalics->Text = S"I";
            this->FontItalics->UseVisualStyleBackColor = true;
            this->FontUnderline->AutoSize = true;
            this->FontUnderline->Font = __gc new Font(S"Microsoft Sans Serif", 8.25, FontStyle::Underline, GraphicsUnit::Point, 0);
            point = (0xee, 3);
            this->FontUnderline->Location = point;
            this->FontUnderline->Name = S"FontUnderline";
            size = (0x22, 0x11);
            this->FontUnderline->Size = size;
            this->FontUnderline->TabIndex = 4;
            this->FontUnderline->Text = S"U";
            this->FontUnderline->UseVisualStyleBackColor = true;
            this->Label1->AutoSize = true;
            point = (-2, 0x19);
            this->Label1->Location = point;
            this->Label1->Name = S"Label1";
            size = (15, 13);
            this->Label1->Size = size;
            this->Label1->TabIndex = 5;
            this->Label1->Text = S"R";
            this->Label2->AutoSize = true;
            point = (-2, 0x2b);
            this->Label2->Location = point;
            this->Label2->Name = S"Label2";
            size = (15, 13);
            this->Label2->Size = size;
            this->Label2->TabIndex = 6;
            this->Label2->Text = S"G";
            this->Label3->AutoSize = true;
            point = (-2, 0x3d);
            this->Label3->Location = point;
            this->Label3->Name = S"Label3";
            size = (14, 13);
            this->Label3->Size = size;
            this->Label3->TabIndex = 7;
            this->Label3->Text = S"B";
            this->BarRed->AutoSize = false;
            point = (9, 0x18);
            this->BarRed->Location = point;
            this->BarRed->Maximum = 0xff;
            this->BarRed->Name = S"BarRed";
            size = (0xff, 20);
            this->BarRed->Size = size;
            this->BarRed->TabIndex = 8;
            this->BarRed->TickStyle = TickStyle::None;
            this->BarGreen->AutoSize = false;
            point = (9, 0x2a);
            this->BarGreen->Location = point;
            this->BarGreen->Maximum = 0xff;
            this->BarGreen->Name = S"BarGreen";
            size = (0xff, 20);
            this->BarGreen->Size = size;
            this->BarGreen->TabIndex = 9;
            this->BarGreen->TickStyle = TickStyle::None;
            this->BarBlue->AutoSize = false;
            point = (9, 60);
            this->BarBlue->Location = point;
            this->BarBlue->Maximum = 0xff;
            this->BarBlue->Name = S"BarBlue";
            size = (0xff, 20);
            this->BarBlue->Size = size;
            this->BarBlue->TabIndex = 10;
            this->BarBlue->TickStyle = TickStyle::None;
            this->ValueRed->AutoSize = true;
            point = (0x107, 0x19);
            this->ValueRed->Location = point;
            this->ValueRed->Name = S"ValueRed";
            size = (13, 13);
            this->ValueRed->Size = size;
            this->ValueRed->TabIndex = 11;
            this->ValueRed->Text = S"0";
            this->ValueGreen->AutoSize = true;
            point = (0x107, 0x2b);
            this->ValueGreen->Location = point;
            this->ValueGreen->Name = S"ValueGreen";
            size = (13, 13);
            this->ValueGreen->Size = size;
            this->ValueGreen->TabIndex = 12;
            this->ValueGreen->Text = S"0";
            this->ValueBlue->AutoSize = true;
            point = (0x107, 0x3d);
            this->ValueBlue->Location = point;
            this->ValueBlue->Name = S"ValueBlue";
            size = (13, 13);
            this->ValueBlue->Size = size;
            this->ValueBlue->TabIndex = 13;
            this->ValueBlue->Text = S"0";
            this->Panel1->BackColor = SystemColors::Control;
            this->Panel1->BorderStyle = BorderStyle::FixedSingle;
            this->Panel1->Controls->Add(this->PreviewFont);
            point = (1, 80);
            this->Panel1->Location = point;
            this->Panel1->Name = S"Panel1";
            size = (110, 0x19);
            this->Panel1->Size = size;
            this->Panel1->TabIndex = 14;
            this->PreviewFont->BackColor = Color::White;
            this->PreviewFont->Dock = DockStyle::Fill;
            point = (0, 0);
            this->PreviewFont->Location = point;
            this->PreviewFont->Name = S"PreviewFont";
            size = (0x6c, 0x17);
            this->PreviewFont->Size = size;
            this->PreviewFont->TabIndex = 0;
            this->PreviewFont->Text = S"AaBbYyZz";
            this->PreviewFont->TextAlign = ContentAlignment::MiddleCenter;
            this->Panel2->BackColor = SystemColors::Control;
            this->Panel2->BorderStyle = BorderStyle::FixedSingle;
            this->Panel2->Controls->Add(this->PreviewColor);
            point = (0x70, 80);
            this->Panel2->Location = point;
            this->Panel2->Name = S"Panel2";
            size = (0x2d, 0x19);
            this->Panel2->Size = size;
            this->Panel2->TabIndex = 15;
            this->PreviewColor->BackColor = Color::Black;
            this->PreviewColor->Dock = DockStyle::Fill;
            this->PreviewColor->Font = __gc new Font(S"Verdana", 6, FontStyle::Regular, GraphicsUnit::Point, 0);
            this->PreviewColor->ForeColor = Color::White;
            point = (0, 0);
            this->PreviewColor->Location = point;
            this->PreviewColor->Name = S"PreviewColor";
            size = (0x2b, 0x17);
            this->PreviewColor->Size = size;
            this->PreviewColor->TabIndex = 0;
            this->PreviewColor->Text = S"000000";
            this->PreviewColor->TextAlign = ContentAlignment::MiddleCenter;
            this->DoApply->FlatStyle = FlatStyle::Popup;
            this->DoApply->Font = __gc new Font(S"Microsoft Sans Serif", 6.75, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (0xbc, 0x6a);
            this->DoApply->Location = point;
            this->DoApply->Name = S"DoApply";
            size = (50, 0x12);
            this->DoApply->Size = size;
            this->DoApply->TabIndex = 0x10;
            this->DoApply->Text = S"APPLY";
            this->DoApply->UseCompatibleTextRendering = true;
            this->DoApply->UseVisualStyleBackColor = true;
            this->DoDone->FlatStyle = FlatStyle::Popup;
            this->DoDone->Font = __gc new Font(S"Microsoft Sans Serif", 6.75, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (0xef, 0x6a);
            this->DoDone->Location = point;
            this->DoDone->Name = S"DoDone";
            size = (50, 0x12);
            this->DoDone->Size = size;
            this->DoDone->TabIndex = 0x11;
            this->DoDone->Text = S"DONE";
            this->DoDone->UseCompatibleTextRendering = true;
            this->DoDone->UseVisualStyleBackColor = true;
            this->DoReset->FlatStyle = FlatStyle::Popup;
            this->DoReset->Font = __gc new Font(S"Microsoft Sans Serif", 6.75, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (0x89, 0x6a);
            this->DoReset->Location = point;
            this->DoReset->Name = S"DoReset";
            size = (50, 0x12);
            this->DoReset->Size = size;
            this->DoReset->TabIndex = 0x12;
            this->DoReset->Text = S"RESET";
            this->DoReset->UseCompatibleTextRendering = true;
            this->DoReset->UseVisualStyleBackColor = true;
            this->DoRandomize->FlatStyle = FlatStyle::Popup;
            this->DoRandomize->Font = __gc new Font(S"Microsoft Sans Serif", 6.75, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (0x47, 0x6a);
            this->DoRandomize->Location = point;
            this->DoRandomize->Name = S"DoRandomize";
            size = (0x41, 0x12);
            this->DoRandomize->Size = size;
            this->DoRandomize->TabIndex = 0x13;
            this->DoRandomize->Text = S"RANDOM";
            this->DoRandomize->UseCompatibleTextRendering = true;
            this->DoRandomize->UseVisualStyleBackColor = true;
            this->Label4->AutoSize = true;
            point = (-2, 0x80);
            this->Label4->Location = point;
            this->Label4->Name = S"Label4";
            size = (0x38, 13);
            this->Label4->Size = size;
            this->Label4->TabIndex = 20;
            this->Label4->Text = S"Keywords:";
            point = (50, 0x7d);
            this->Keywords->Location = point;
            this->Keywords->Name = S"Keywords";
            size = (0x97, 20);
            this->Keywords->Size = size;
            this->Keywords->TabIndex = 0x15;
            this->PlayKeywordSound->AutoSize = true;
            point = (0xcf, 0x81);
            this->PlayKeywordSound->Location = point;
            this->PlayKeywordSound->Name = S"PlayKeywordSound";
            size = (80, 0x11);
            this->PlayKeywordSound->Size = size;
            this->PlayKeywordSound->TabIndex = 0x16;
            this->PlayKeywordSound->Text = S"Play Sound";
            this->PlayKeywordSound->UseVisualStyleBackColor = true;
            this->InvertColors->FlatStyle = FlatStyle::Popup;
            this->InvertColors->Font = __gc new Font(S"Microsoft Sans Serif", 6.75, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (1, 0x6a);
            this->InvertColors->Location = point;
            this->InvertColors->Name = S"InvertColors";
            size = (0x45, 0x12);
            this->InvertColors->Size = size;
            this->InvertColors->TabIndex = 0x17;
            this->InvertColors->Text = S"INVERT";
            this->InvertColors->UseCompatibleTextRendering = true;
            this->InvertColors->UseVisualStyleBackColor = true;
            SizeF __gc* ef = (6, 13);
            this->AutoScaleDimensions = ef;
            this->AutoScaleMode = AutoScaleMode::Font;
            size = (290, 0x92);
            this->ClientSize = size;
            this->Controls->Add(this->InvertColors);
            this->Controls->Add(this->PlayKeywordSound);
            this->Controls->Add(this->Keywords);
            this->Controls->Add(this->Label4);
            this->Controls->Add(this->DoRandomize);
            this->Controls->Add(this->DoReset);
            this->Controls->Add(this->DoDone);
            this->Controls->Add(this->DoApply);
            this->Controls->Add(this->Panel2);
            this->Controls->Add(this->Panel1);
            this->Controls->Add(this->ValueBlue);
            this->Controls->Add(this->ValueGreen);
            this->Controls->Add(this->ValueRed);
            this->Controls->Add(this->BarBlue);
            this->Controls->Add(this->BarGreen);
            this->Controls->Add(this->BarRed);
            this->Controls->Add(this->Label3);
            this->Controls->Add(this->Label2);
            this->Controls->Add(this->Label1);
            this->Controls->Add(this->FontUnderline);
            this->Controls->Add(this->FontItalics);
            this->Controls->Add(this->FontBold);
            this->Controls->Add(this->FontSize);
            this->Controls->Add(this->FontFamily);
            this->FormBorderStyle = FormBorderStyle::FixedToolWindow;
            this->Icon = *static_cast<__box Icon*>(manager->GetObject(S"$this.Icon"));
            this->Name = S"Form_ChatOptions";
            this->StartPosition = FormStartPosition::Manual;
            this->Text = S"Chat Options";
            this->BarRed->EndInit();
            this->BarGreen->EndInit();
            this->BarBlue->EndInit();
            this->Panel1->ResumeLayout(false);
            this->Panel2->ResumeLayout(false);
            this->ResumeLayout(false);
            this->PerformLayout();
        }

        private: void __gc* InvertColors_Click(Object __gc* sender, EventArgs __gc* e)
        {
            this->FormParent->invertRGB();
        }

        private: void __gc* PresetColor_Click(Object __gc* sender, EventArgs __gc* e)
        {
            this->SetColorValues(*static_cast<__box Color*>(NewLateBinding::LateGet(sender, 0, S"BackColor", __gc new Object __gc*[0], 0, 0, 0)));
            this->UpdateColor();
        }

        private: void __gc* SaveAndClose(Boolean __gc* DoSave, Boolean __gc* DoClose)
        {
            if (DoSave)
            {
                MySettingsProperty::Settings->FontBold = this->FontBold->Checked;
                MySettingsProperty::Settings->FontColor = this->PreviewColor->Text;
                MySettingsProperty::Settings->FontFamily = this->FontFamily->SelectedItem->ToString();
                MySettingsProperty::Settings->FontItalics = this->FontItalics->Checked;
                MySettingsProperty::Settings->FontSize = Conversions::ToInteger(this->FontSize->SelectedItem);
                MySettingsProperty::Settings->FontUnderline = this->FontUnderline->Checked;
                MySettingsProperty::Settings->Keywords = this->Keywords->Text->ToLower();
                MySettingsProperty::Settings->PlayKeywordSound = this->PlayKeywordSound->Checked;
                this->FormParent->UpdateFont();
                this->FormParent->UpdateKeywords();
            }
            if (DoClose)
            {
                this->Close();
            }
        }

        private: void __gc* SetColorValues(Color __gc* FromColor)
        {
            this->BarRed->Value = FromColor->R;
            this->BarGreen->Value = FromColor->G;
            this->BarBlue->Value = FromColor->B;
            this->ValueRed->Text = Conversions::ToString(FromColor->R);
            this->ValueGreen->Text = Conversions::ToString(FromColor->G);
            this->ValueBlue->Text = Conversions::ToString(FromColor->B);
        }

        private: void __gc* UpdateColor()
        {
            this->TempColor = Color::FromArgb(this->BarRed->Value, this->BarGreen->Value, this->BarBlue->Value);
            this->PreviewColor->BackColor = this->TempColor;
            this->PreviewColor->Text = Globals::ColorToHex(this->TempColor);
            this->PreviewFont->ForeColor = this->TempColor;
        }


        // Properties
        [DebuggerNonUserCode]
        public private: __property virtual TrackBar __gc* get_BarBlue()
        {
            return this->_BarBlue;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_BarBlue(TrackBar __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.BarBlue_Scroll);
            if (this->_BarBlue != 0)
            {
                this->_BarBlue->Scroll -= handler;
            }
            this->_BarBlue = WithEventsValue;
            if (this->_BarBlue != 0)
            {
                this->_BarBlue->Scroll += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual TrackBar __gc* get_BarGreen()
        {
            return this->_BarGreen;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_BarGreen(TrackBar __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.BarGreen_Scroll);
            if (this->_BarGreen != 0)
            {
                this->_BarGreen->Scroll -= handler;
            }
            this->_BarGreen = WithEventsValue;
            if (this->_BarGreen != 0)
            {
                this->_BarGreen->Scroll += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual TrackBar __gc* get_BarRed()
        {
            return this->_BarRed;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_BarRed(TrackBar __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.BarRed_Scroll);
            if (this->_BarRed != 0)
            {
                this->_BarRed->Scroll -= handler;
            }
            this->_BarRed = WithEventsValue;
            if (this->_BarRed != 0)
            {
                this->_BarRed->Scroll += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual Button __gc* get_DoApply()
        {
            return this->_DoApply;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_DoApply(Button __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.DoApply_Click);
            if (this->_DoApply != 0)
            {
                this->_DoApply->Click -= handler;
            }
            this->_DoApply = WithEventsValue;
            if (this->_DoApply != 0)
            {
                this->_DoApply->Click += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual Button __gc* get_DoDone()
        {
            return this->_DoDone;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_DoDone(Button __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.DoDone_Click);
            if (this->_DoDone != 0)
            {
                this->_DoDone->Click -= handler;
            }
            this->_DoDone = WithEventsValue;
            if (this->_DoDone != 0)
            {
                this->_DoDone->Click += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual Button __gc* get_DoRandomize()
        {
            return this->_DoRandomize;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_DoRandomize(Button __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.DoRandomize_Click);
            if (this->_DoRandomize != 0)
            {
                this->_DoRandomize->Click -= handler;
            }
            this->_DoRandomize = WithEventsValue;
            if (this->_DoRandomize != 0)
            {
                this->_DoRandomize->Click += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual Button __gc* get_DoReset()
        {
            return this->_DoReset;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_DoReset(Button __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.DoReset_Click);
            if (this->_DoReset != 0)
            {
                this->_DoReset->Click -= handler;
            }
            this->_DoReset = WithEventsValue;
            if (this->_DoReset != 0)
            {
                this->_DoReset->Click += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual CheckBox __gc* get_FontBold()
        {
            return this->_FontBold;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_FontBold(CheckBox __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.FontUpdate);
            if (this->_FontBold != 0)
            {
                this->_FontBold->CheckedChanged -= handler;
            }
            this->_FontBold = WithEventsValue;
            if (this->_FontBold != 0)
            {
                this->_FontBold->CheckedChanged += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual ComboBox __gc* get_FontFamily()
        {
            return this->_FontFamily;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_FontFamily(ComboBox __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.FontUpdate);
            if (this->_FontFamily != 0)
            {
                this->_FontFamily->SelectedIndexChanged -= handler;
            }
            this->_FontFamily = WithEventsValue;
            if (this->_FontFamily != 0)
            {
                this->_FontFamily->SelectedIndexChanged += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual CheckBox __gc* get_FontItalics()
        {
            return this->_FontItalics;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_FontItalics(CheckBox __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.FontUpdate);
            if (this->_FontItalics != 0)
            {
                this->_FontItalics->CheckedChanged -= handler;
            }
            this->_FontItalics = WithEventsValue;
            if (this->_FontItalics != 0)
            {
                this->_FontItalics->CheckedChanged += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual ComboBox __gc* get_FontSize()
        {
            return this->_FontSize;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_FontSize(ComboBox __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.FontUpdate);
            if (this->_FontSize != 0)
            {
                this->_FontSize->SelectedIndexChanged -= handler;
            }
            this->_FontSize = WithEventsValue;
            if (this->_FontSize != 0)
            {
                this->_FontSize->SelectedIndexChanged += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual CheckBox __gc* get_FontUnderline()
        {
            return this->_FontUnderline;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_FontUnderline(CheckBox __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.FontUpdate);
            if (this->_FontUnderline != 0)
            {
                this->_FontUnderline->CheckedChanged -= handler;
            }
            this->_FontUnderline = WithEventsValue;
            if (this->_FontUnderline != 0)
            {
                this->_FontUnderline->CheckedChanged += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual Button __gc* get_InvertColors()
        {
            return this->_InvertColors;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_InvertColors(Button __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.InvertColors_Click);
            if (this->_InvertColors != 0)
            {
                this->_InvertColors->Click -= handler;
            }
            this->_InvertColors = WithEventsValue;
            if (this->_InvertColors != 0)
            {
                this->_InvertColors->Click += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual TextBox __gc* get_Keywords()
        {
            return this->_Keywords;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Keywords(TextBox __gc* WithEventsValue)
        {
            this->_Keywords = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_Label1()
        {
            return this->_Label1;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Label1(Label __gc* WithEventsValue)
        {
            this->_Label1 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_Label2()
        {
            return this->_Label2;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Label2(Label __gc* WithEventsValue)
        {
            this->_Label2 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_Label3()
        {
            return this->_Label3;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Label3(Label __gc* WithEventsValue)
        {
            this->_Label3 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_Label4()
        {
            return this->_Label4;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Label4(Label __gc* WithEventsValue)
        {
            this->_Label4 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Panel __gc* get_Panel1()
        {
            return this->_Panel1;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Panel1(Panel __gc* WithEventsValue)
        {
            this->_Panel1 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Panel __gc* get_Panel2()
        {
            return this->_Panel2;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Panel2(Panel __gc* WithEventsValue)
        {
            this->_Panel2 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual CheckBox __gc* get_PlayKeywordSound()
        {
            return this->_PlayKeywordSound;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_PlayKeywordSound(CheckBox __gc* WithEventsValue)
        {
            this->_PlayKeywordSound = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_PreviewColor()
        {
            return this->_PreviewColor;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_PreviewColor(Label __gc* WithEventsValue)
        {
            this->_PreviewColor = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_PreviewFont()
        {
            return this->_PreviewFont;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_PreviewFont(Label __gc* WithEventsValue)
        {
            this->_PreviewFont = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_ValueBlue()
        {
            return this->_ValueBlue;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_ValueBlue(Label __gc* WithEventsValue)
        {
            this->_ValueBlue = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_ValueGreen()
        {
            return this->_ValueGreen;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_ValueGreen(Label __gc* WithEventsValue)
        {
            this->_ValueGreen = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_ValueRed()
        {
            return this->_ValueRed;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_ValueRed(Label __gc* WithEventsValue)
        {
            this->_ValueRed = WithEventsValue;
        }


        // Fields
        [AccessedThroughProperty(S"BarBlue")]
        private: TrackBar __gc* _BarBlue;
        [AccessedThroughProperty(S"BarGreen")]
        private: TrackBar __gc* _BarGreen;
        [AccessedThroughProperty(S"BarRed")]
        private: TrackBar __gc* _BarRed;
        [AccessedThroughProperty(S"DoApply")]
        private: Button __gc* _DoApply;
        [AccessedThroughProperty(S"DoDone")]
        private: Button __gc* _DoDone;
        [AccessedThroughProperty(S"DoRandomize")]
        private: Button __gc* _DoRandomize;
        [AccessedThroughProperty(S"DoReset")]
        private: Button __gc* _DoReset;
        [AccessedThroughProperty(S"FontBold")]
        private: CheckBox __gc* _FontBold;
        [AccessedThroughProperty(S"FontFamily")]
        private: ComboBox __gc* _FontFamily;
        [AccessedThroughProperty(S"FontItalics")]
        private: CheckBox __gc* _FontItalics;
        [AccessedThroughProperty(S"FontSize")]
        private: ComboBox __gc* _FontSize;
        [AccessedThroughProperty(S"FontUnderline")]
        private: CheckBox __gc* _FontUnderline;
        [AccessedThroughProperty(S"InvertColors")]
        private: Button __gc* _InvertColors;
        [AccessedThroughProperty(S"Keywords")]
        private: TextBox __gc* _Keywords;
        [AccessedThroughProperty(S"Label1")]
        private: Label __gc* _Label1;
        [AccessedThroughProperty(S"Label2")]
        private: Label __gc* _Label2;
        [AccessedThroughProperty(S"Label3")]
        private: Label __gc* _Label3;
        [AccessedThroughProperty(S"Label4")]
        private: Label __gc* _Label4;
        [AccessedThroughProperty(S"Panel1")]
        private: Panel __gc* _Panel1;
        [AccessedThroughProperty(S"Panel2")]
        private: Panel __gc* _Panel2;
        [AccessedThroughProperty(S"PlayKeywordSound")]
        private: CheckBox __gc* _PlayKeywordSound;
        [AccessedThroughProperty(S"PreviewColor")]
        private: Label __gc* _PreviewColor;
        [AccessedThroughProperty(S"PreviewFont")]
        private: Label __gc* _PreviewFont;
        [AccessedThroughProperty(S"ValueBlue")]
        private: Label __gc* _ValueBlue;
        [AccessedThroughProperty(S"ValueGreen")]
        private: Label __gc* _ValueGreen;
        [AccessedThroughProperty(S"ValueRed")]
        private: Label __gc* _ValueRed;
        private: IContainer __gc* components;
        public: Form1 __gc* FormParent;
        private: Color __gc* PresetColors __gc [];
        private: Color __gc* TempColor;
    };
}

